package com.ruoyi.mes.systembasic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 序列对象 smes_sequence_produce
 *
 * @author simpsense
 * @date 2020-12-10
 */
public class SmesSequenceProduce extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 单据类型 */
    @Excel(name = "单据类型")
    private String billType;

    /** 单据前缀 */
    @Excel(name = "单据前缀")
    private String billPrefix;


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    private String userName;
    /** 单据日期格式20201210 */
    @Excel(name = "单据日期格式20201210")
    private String billDate;

    /** 序列号 */
    @Excel(name = "序列号")
    private Long sequenceCode;

    public void setRowId(Long rowId)
    {
        this.rowId = rowId;
    }

    public Long getRowId()
    {
        return rowId;
    }
    public void setBillType(String billType)
    {
        this.billType = billType;
    }

    public String getBillType()
    {
        return billType;
    }
    public void setBillPrefix(String billPrefix)
    {
        this.billPrefix = billPrefix;
    }

    public String getBillPrefix()
    {
        return billPrefix;
    }
    public void setBillDate(String billDate)
    {
        this.billDate = billDate;
    }

    public String getBillDate()
    {
        return billDate;
    }
    public void setSequenceCode(Long sequenceCode)
    {
        this.sequenceCode = sequenceCode;
    }

    public Long getSequenceCode()
    {
        return sequenceCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rowId", getRowId())
                .append("billType", getBillType())
                .append("billPrefix", getBillPrefix())
                .append("billDate", getBillDate())
                .append("sequenceCode", getSequenceCode())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
